package cn.com.utt.common.vo;

import java.io.Serializable;

public class Role implements Serializable {

	/**  */
	private static final long serialVersionUID = 2572736735162494985L;
	private int id;
	private String name;
	private String description;
	private byte rw;
	private String group;

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getDescription() {
		return description;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public byte getRw() {
		return rw;
	}

	public void setRw(byte rw) {
		this.rw = rw;
	}

	@Override
	public boolean equals(Object obj) {
		Role s = (Role) obj;
		return id == s.id;
	}

}
